home *** CD-ROM | disk | FTP | other *** search
/ Macintosh Compilation 1 / Macintosh Compilation CD Number 1 (December 1995).iso / Utilities / CPU Doubler™ 1.0 / Cron Manager™ 1.0 / Cron Help next >
Encoding:
Text File  |  1994-02-27  |  3.6 KB  |  114 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10. Introduction:
  11.  
  12. Cron Manager™ implements the cron facility found in UNIX. It allows you to open any item (Application, Document, Folder, etc…) at a specified date and time by simply placing an alias of the item into the “Cron Events Folder”. You specify when the event occurs by naming the alias with the date and time in the following format:
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. Syntax:
  21.  
  22. The format for a cron entry is as follows:
  23.  
  24.                   [weekDay …]  [date]  [time]  [repeat]
  25.  
  26. where:
  27.  
  28.    weekDay         Mon, Tue, Wed, Thu, Fri, Sat, Sun
  29.    date                mm/dd/yy      (m = month, d = day, y = year)
  30.    time               hh.mm            (h = 24 hour clock , m = minute)
  31.    repeat            [+][*]mm         (+ = after, * = every, m = minute)
  32.  
  33. the “[” and “]” indicate that part of the entry to be optional unless it is the only remaining item, and “…” indicates multiple items separated by spaces.
  34.  
  35.  
  36. Cron Events Folder:
  37.  
  38. All cron entries are stored inside the “Cron Events Folder” located within the System Folder. An alias to this folder can be automatically created in the Apple Menu by selecting the alias option in the control panel window.
  39.  
  40. Below are several examples of cron entries:
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55. Refer to the “Sample Cron Entries” and “Sample CLImate Scripts” folders for a more complete list of examples.
  56.  
  57.  
  58. Tips and Hints:
  59.  
  60. • Remember not to enter dates and times out of order (i.e weekdays before date before time etc…).
  61.  
  62. • The “-” character is a wildcard symbol which can replace any part of a date or time (i.e. “7/-/93  9.-” is anytime at 9 AM every day in July).
  63.  
  64. • You can deactivate a cron entry by inserting any character at the start (i.e. “# 7/-/93” deactivates this cron entry).
  65.  
  66. • You can use as many spaces as you need to make cron entries more readable.  Also, cron entries are not case sensitive.
  67.  
  68. • You can place any characters after the cron entry for commenting.
  69.  
  70.  
  71. Problem Solving:
  72.  
  73. If you find that one of your cron entries is not working check the following:
  74.  
  75. • make sure that its format matches that of the syntax listed previously,
  76.  
  77. • make sure that all numbers are in the appropriate range (i.e. the month field should be between 1 and 12),
  78.  
  79. • check the Macintosh date and time to verify that they are correct,
  80.  
  81. • double click on the cron entry directly to ensure that it opens correctly without Cron Manager.
  82.  
  83.  
  84. Error Codes:
  85.  
  86. The following is a list of possible error codes that are most likely to occurr. Error codes that are not listed here can be found in Inside Macintosh volumes I - IV.
  87.  
  88. -35       no such volume
  89. -36       I/O error
  90. -37       bad name
  91. -43       file not found
  92. -50       no default volume
  93. -108     not enough memory to run Cron Manager
  94. -120     directory not found
  95. -600     Cron Manager was not loaded at startup, load was aborted by user
  96. -601     memory too fragmented to run Cron Manager
  97. -5000   user access privileges incorrect
  98.  
  99.  
  100. Notes on Aborting:
  101.  
  102. You can abort the loading of Cron Manager during startup by holding down the user selectable keys (i.e. “control”, “option”, “command”, and “esc”) set in the control panel window. You must hold down only those keys that are selected. Holding down any of the four keys not selected will cause Cron Manager to load.
  103.  
  104. Note that holding down the “control” key while MacsBug is installed will cause a user break in MacsBug. Simply type “g” to continue the startup process.
  105.  
  106. If any problems arise during startup while holding down a particular key combination (i.e. such as aborting needed system extensions or other unwanted behavior), change the abort sequence in the control panel window and try again.
  107.  
  108. -------------------------
  109.  
  110. Orchard Software, Inc.
  111. P.O. Box 380814
  112. Cambridge, MA 02238-0814
  113. (617) 876-4608
  114.